package com.web.all.common.exception;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 参数校验异常 2018-10-22 18:16
 *
 * @author yangk
 **/

public class ParamException extends RuntimeException implements Serializable {
    private static final long serialVersionUID = 3874496319995892829L;

    public ParamException(String messages){
        super(messages);
        this.messages = messages;
    }

    @Getter
    private final String messages;
}
